﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace WebFirst.Entities
{
    /// <summary>
    /// 短信模版
    ///</summary>
    [SugarTable("sms_template")]
    public class SmsTemplate
    {
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="ID" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int Id { get; set; }
        /// <summary>
        /// 短信名称 
        ///</summary>
         [SugarColumn(ColumnName="Name"    )]
         public string Name { get; set; }
        /// <summary>
        /// 短信编码 
        ///</summary>
         [SugarColumn(ColumnName="Code"    )]
         public string Code { get; set; }
        /// <summary>
        /// 短信内容 
        ///</summary>
         [SugarColumn(ColumnName="Content"    )]
         public string Content { get; set; }
        /// <summary>
        /// 科室代码 
        ///</summary>
         [SugarColumn(ColumnName="DeptCode"    )]
         public string? DeptCode { get; set; }
        /// <summary>
        /// 短信模版类型 
        ///</summary>
         [SugarColumn(ColumnName="SmsType"    )]
         public string SmsType { get; set; }
        /// <summary>
        /// 短信类型 
        ///</summary>
         [SugarColumn(ColumnName= "SmsClass")]
         public string SmsClass { get; set; }
        /// <summary>
        /// 模版sql
        ///</summary>
         [SugarColumn(ColumnName= "Sql")]
         public string? Sql { get; set; }
        /// <summary>
        /// 创建时间 
        ///</summary>
         [SugarColumn(ColumnName="CreateDate"    )]
         public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 0启用1禁用
        /// </summary>
        public int Disable { get; set; }
        /// <summary>
        /// 变量属性
        /// </summary>
        public string VariableAttribute {  get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string? Description {  get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public string? AuditStatus {  get; set; }
        /// <summary>
        /// 失败原因
        /// </summary>
        public string? RejectInfo {  get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public string? AuditDate {  get; set; }
    }
}
